#!/usr/bin/env bash

sparkDir="/home/hmt/software/spark-2.4.0-bin-hadoop2.7/bin/spark-submit"
jarDir="/home/hmt/jar_synchro/sjaq_v1-1.0-SNAPSHOT.jar"
classPath="synchro.synchro_logsCopyTidb4aAsset "
logDir="/home/hmt/logs/synchro_logsCopyTidb4aAsset.txt"

 ${sparkDir}  --master spark://cloud107:7077  --executor-cores 3  --total-executor-cores 6  --executor-memory 1g   --class ${classPath}  ${jarDir} >> ${logDir}  2>&1

